/*
 * @(#)ListDmsVersionForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.dms.web;

import com.dcivision.framework.web.AbstractSearchForm;

/**
  ListDmsVersionForm.java

  The ActionForm for ListDmsVersionForm

    @author          Zoe Shum
    @company         DCIVision Limited
    @creation date   08/07/2003
    @version         $Revision: 1.8 $
*/

public class ListDmsVersionForm extends AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.8 $";

  /** indicate the corresponding document rootID and parentID*/
  private String rootID = null;
  private String docparent = null;
  private String curFunctionCode = null;
  private String documentID = null;
  
  /** used for return button to find return navigation */
  private String directURL=null;

  public ListDmsVersionForm() {
    super();
    this.setSortAttribute("ID");
    this.setSortOrder("DESC");
  }

  public String getDocparent() {
    return(this.docparent);
  }

  public void setDocparent(String docparent) {
    this.docparent = docparent;
  }

  public String getRootID() {
    return(this.rootID);
  }

  public void setRootID(String rootID) {
    this.rootID = rootID;
  }

  public void setCurFunctionCode(String curFunctionCode) {
    this.curFunctionCode = curFunctionCode;
  }

  public String getCurFunctionCode() {
    return curFunctionCode;
  }

  public String getDocumentID() {
    return(this.documentID);
  }

  public void setDocumentID(String documentID) {
    this.documentID = documentID;
  }
  
  public String getDirectURL(){
    return this.directURL; 
  }
  
  public void setDirectURL(String directURL){
    this.directURL=directURL; 
  }
}
